package com.lantosec.hmrp.modules.warning.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.lantosec.hmrp.core.kit.PageVO;
import com.lantosec.hmrp.modules.warning.entity.WarningData;
import com.lantosec.hmrp.modules.warning.entity.WarningEvalNote;
import com.lantosec.hmrp.modules.warning.entity.WarningSummary;
import com.lantosec.hmrp.modules.warning.vo.WarningSummaryVO;

import java.util.List;

/**
 * <p>
 * 预警数据 服务类
 * </p>
 *
 * @author AutoCode
 * @since 2020-05-27
 */
public interface IWarningDataService extends IService<WarningData> {

    Page<WarningSummary> summaryStatistics(PageVO<WarningSummary> page, WarningSummaryVO condition,Integer permissionsType);

    Page<WarningData> notHandle(PageVO<WarningData> page, String ruleId);

    void create(List<WarningEvalNote> list);

    Page<WarningData> hasDisposal(PageVO<WarningData> page, String ruleId,Integer warningFlag);

    Page<WarningData> disposalRejected(PageVO<WarningData> page, String ruleId);

    Page<WarningData> pending(PageVO<WarningData> page, String ruleId);

    Integer audit(WarningData data);

}
